﻿using EMall.Application;

namespace EMall.ProductService.Products
{
    public class CreateProductDto : EntityDto
    {
        public string Name { get; set; }
        public string Model { get; set; }
        public string Description { get; set; }
        public int CategoryId { get; set; }
        public int BrandId { get; set; }
        public bool IsActive { get; set; }
        public List<CreateProductPictureDto> Pictures { get; set; }
        public CreateProductDto()
        {
            Pictures = new List<CreateProductPictureDto>();
        }
    }
    public class CreateProductPictureDto
    {
        public string Url { get; set; }
    }
}
